package com.sxf.service;

import java.util.List;
import java.util.Map;

import com.sxf.domain.blog.Link;
import com.sxf.domain.viewbean.LinkVO;
import com.sxf.mybatis.page.Pagination;
import com.sxf.querybean.LinkQuery;

public interface LinkService {
	public Pagination<LinkVO> queryPage(LinkQuery query);

	public List<LinkVO> queryList(LinkQuery query);

	public long queryNumber(LinkQuery query);

	public LinkVO queryOne(LinkQuery query);

	public Map<String, Integer> queryStatistic();

	public int insert(Link link);

	public int update(Link link);

	public int delete(Link link);

}
